/*
 * at_error_code.h
 *
 */
#ifndef __AT_ERROR_CODE_H__
#define __AT_ERROR_CODE_H__

#ifdef __cplusplus
 extern "C" {
#endif

#include "stdint.h"

typedef enum {
    ERR_AT_NULL = 0,
    ERR_AT_INVALID_MODE = -1,
    ERR_AT_INVALID_CMD = -2,
    ERR_AT_INVALID_DST = -3,
    ERR_AT_INVALID_PARAM = -4,
    ERR_AT_PARAM_OVER_RANG = -5,
    ERR_AT_WRITE_FAILED = -6,
    ERR_AT_READ_FAILED = -7,
    ERR_AT_XOR_CHECK_FAILED = -8,
    ERR_AT_SIGN_CONDITION = -9,
    ERR_AT_TEST_FAILE = -10,
	ERR_AT_SUBG_INVALID_MODE = -11,
    ERR_AT_GPS_NO_RESULT = -12,
    ERR_AT_SUBG_RSSI = -13,
    ERR_AT_SUBG_TX = -14,
    ERR_AT_SUBG_RX = -15,
    ERR_AT_STR_LENGTH = -16,
    
    ERR_AT_ACU_BASE = -401,
    
    
    ERR_AT_ECU_BASE = -801,
    ERR_AT_ECU_BAT_LINK = -801,
    ERR_AT_ECU_VCU_START = -802,
    ERR_AT_ECU_VCU_RESET_FAILD = -803,
    ERR_AT_ECU_MOTOR = -804,
    
    ERR_AT_VCU_BASE = -1201,
    ERR_AT_VCU_MOTOR = -1201,
    ERR_AT_VCU_IMU = -1202,
    
    
    ERR_AT_TCU_BASE = -1601,
    
    
    ERR_AT_GCS_BASE = -2001,
    
    
    ERR_AT_BSU_BASE = -2401,
    
    
    
    
    ERR_AT_FCU_BASE = -2801,
    
}en_ErrAtType;

#ifdef __cplusplus
}
#endif

#endif